home *** CD-ROM | disk | FTP | other *** search
- /************************************
- General.h
-
- General and useful constants
- ************************************/
-
- #define _H_General
-
- #ifndef TRUE
- #define TRUE (1)
- #endif
-
- #ifndef true
- #define true (1)
- #endif
-
- #ifndef FALSE
- #define FALSE (0)
- #endif
- #ifndef false
- #define false (0)
- #endif
-
- #ifndef NULL
- #define NULL ((void *) 0)
- #endif
-
- #ifndef null
- #define null ((void *) 0)
- #endif
-
- #ifndef NIL
- #define NIL ((void *) 0)
- #endif
-
- #ifndef nil
- #define nil ((void *) 0)
- #endif
-
- #define WindowInFront ((WindowPtr)-1)
-
- #define NONE 0
- #define CENTER 2
- #define THIRD 3
-
- /* SICN declarations */
- typedef short SICN[16];
- typedef SICN *SICNList;
- typedef SICNList *SICNHandle;
-
- #ifndef _DialogMgr_
- #include "DialogMgr.h"
- #endif
-
- /* DITL declarations */
- typedef struct DITLItem {
- long HorP;
- Rect displayRect;
- char itemType;
- char dataLength;
- } DITLItem, *DITLItemPtr, **DITLItemHandle;
-
- OSErr AddDItem(Handle *theDITL, char theType, Rect * theRect, char *param);
-
- void PositionRect(Rect *small, Rect *large, int hOption, int vOption);
-
- /* SICN Routines */
- SICNHandle GetSICN(int sicnID);
- long CountSICN(SICNHandle theSICN);
- void PlotSICN(Rect *theRect, SICNHandle theSICN, long theIndex);